<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>虚拟人物服务平台</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            padding: 40px;
            text-align: center;
            max-width: 600px;
            width: 90%;
        }

        .header {
            margin-bottom: 30px;
        }

        .header h1 {
            font-size: 2.5em;
            color: #333;
            margin-bottom: 10px;
        }

        .header p {
            font-size: 1.2em;
            color: #666;
            line-height: 1.6;
        }

        .services {
            display: grid;
            gap: 20px;
            margin-top: 30px;
        }

        .service-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px;
            border-radius: 15px;
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
        }

        .service-card h3 {
            font-size: 1.5em;
            margin-bottom: 10px;
        }

        .service-card p {
            opacity: 0.9;
            line-height: 1.5;
        }

        .icon {
            font-size: 3em;
            margin-bottom: 15px;
            display: block;
        }

        @media (max-width: 768px) {
            .container {
                padding: 30px 20px;
            }
            
            .header h1 {
                font-size: 2em;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>🤖 虚拟人物服务平台</h1>
            <p>提供智能语音合成、图像生成、视频制作等全方位AI服务</p>
        </div>

        <div class="services">
            <a href="/api/tts/page" class="service-card" target="_blank">
                <span class="icon">🎵</span>
                <h3>语音合成服务</h3>
                <p>将文本转换为自然流畅的语音，支持多种音色和参数调节</p>
            </a>

            <a href="/api/ai/page" class="service-card" style="background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);" target="_blank">
                <span class="icon">💬</span>
                <h3>AI对话服务</h3>
                <p>智能对话助手，提供自然流畅的交互体验</p>
            </a>

            <a href="/file-upload" class="service-card" style="background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);" target="_blank">
                <span class="icon">🎨</span>
                <h3>图像生成服务</h3>
                <p>基于文本描述生成高质量图像，支持多种风格和尺寸</p>
            </a>

            <a href="/video" class="service-card" style="background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);" target="_blank">
                <span class="icon">🎬</span>
                <h3>视频生成服务</h3>
                <p>将图像转换为动态视频，支持多种特效和转场</p>
            </a>
        </div>
    </div>
</body>
</html> 